package com.ruoyi.media.mediaAccount.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自媒体账号列业务对象 media_account
 *
 * @author dqw
 * @date 2023-03-23
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MediaAccountBo extends BaseEntity {

    /**
     * 主键
     */
    //@NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 部门id
     */
    //@NotNull(message = "部门id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

    /**
     * 用户id
     */
    //@NotNull(message = "用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 平台类型
     */
    // @NotNull(message = "平台类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String platformCode;

    /**
     * 平台logo链接
     */
    //@NotBlank(message = "平台logo链接不能为空", groups = { AddGroup.class, EditGroup.class })
    private String logo;

    /**
     * 账号昵称
     */
    //@NotBlank(message = "账号昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nickname;

    /**
     * 头像链接
     */
    //@NotBlank(message = "头像链接不能为空", groups = { AddGroup.class, EditGroup.class })
    private String headImgUrl;

    /**
     * 账号cookies
     */
    //@NotBlank(message = "账号cookies不能为空", groups = { AddGroup.class, EditGroup.class })
    private String cookies;

    /**
     * 账号登录状态
     */
    // @NotNull(message = "账号登录状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer loginStatus;

    /**
     * 最后扫码时间
     */
    //@NotNull(message = "最后扫码时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date lastScanTime;

    /**
     * 账号类型
     */
    // @NotNull(message = "账号类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer acctType;

    /**
     * 扫码随机数
     */
    //@NotBlank(message = "扫码随机数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String scanRandom;

    /**
     * 备注
     */
    //@NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 用户数据
     */
    // @NotBlank(message = "用户数据不能为空", groups = { AddGroup.class, EditGroup.class })
    private JSONObject userInfo;

    /**
     * 发布模板id
     */
    private String publishModelId;


    /**
     * 账号唯一标识
     */
    private  String  uniqId;

    /**
     * 视频号标识
     */
    private  String finderUserName;

    /**
     * 公众号标识
     */
    private  String mpUserName;

    /**
     * 账号发布文件路径
     */
    private String filePath;

    /**
     * 选中的账号唯一id
     */
    private String checkUniqId;


    /**
     * 当前账号系统唯一id
     */
    private String systemUniqId;

    /**
     * 账号分组id
     */
    private String groupId;


    /**
     * 平台标识
     */
     private String platform;

    /**
     * 账号关联id
     */
     private String accountId;

    /**
     * 是否文件名作为标题
     */
    private Integer isFileTitle;

    /**
     * 分组名称
     */
    private String groupName;

    /**
     * 是否设置模板
     */
    private Integer isConfigModel;
    /**
     * 批量编辑数据的主键
     */
    private Long[] idList;
    /**
     * 视频描述
     */
    private String description;
    /**
     * 下级用户id
     */
    private String lowerUserId;
    /**
     * 下级绑定用户名
     */
    private String lowerUsername;
    /**
     * 删除标识
     */
    private Integer delFlag;



    /**
     * 微信公众号
     */
    public static final String WXGZH = "wxgzh";
    /**
     * 微信视频号
     */
    public static final String WXSPH = "wxsph";
    /**
     * 微信视频号
     */
    public static final String WXSPHJR = "wxsphjr";
    /**
     * 抖音
     */
    public static final String DOUYIN = "douyin";
    /**
     * 微信小程序管理
     */
    public static final String WXXCX = "wxxcx";

    /**
     * 小红书
     */
    public static final String XHS = "xhs";

    /**
     * 视频号小店
     */
    public static final String SPHXD = "sphxd";



}
